package com.pzb.market.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pzb.common.core.domain.BaseEntity;

/**
 * 拼购商品对象 mk_groupbuying_goods
 * 
 * @author Mr_Wu
 * @date 2021-12-22
 */
public class MkGroupbuyingGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 拼团ID */
    private Long groupId;

    /** 商品ID */
    private Long goodsId;

    /** 拼团价格 */
    private String groupPrice;

    /** 主页显示 0显示 1不显示 */
    private String isShow;

    /** 排序 */
    private Integer sort;

    private String goodsCode;
    private String goodsName;
    private String picturePath;
    private String referencePrice;
    private Integer stock;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGroupPrice(String groupPrice)
    {
        this.groupPrice = groupPrice;
    }

    public String getGroupPrice()
    {
        return groupPrice;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getPicturePath() {
        return picturePath;
    }

    public void setPicturePath(String picturePath) {
        this.picturePath = picturePath;
    }

    public String getReferencePrice() {
        return referencePrice;
    }

    public void setReferencePrice(String referencePrice) {
        this.referencePrice = referencePrice;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("goodsId", getGoodsId())
            .append("groupPrice", getGroupPrice())
            .append("isShow", getIsShow())
            .append("sort", getSort())
            .toString();
    }
}
